<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<!-- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/themes/icon.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/ainit.css" type="text/css"></link> -->
		<link rel="stylesheet" href="../printCss/print.css" type="text/css"></link>
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/perlize.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/save.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/initPage.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/sysReport/report.js"></script>

		<script type="text/javascript">
	$(function() {
		$("#dotted :last ").remove()
	});
</script>
<script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
	</head>
	<body>
		<table cellpadding="0" cellspacing="0" width="550" border="0px">

			<tr style="background-color: green; font-size: 20px; height: 32px;">
				<th class="td_ct">
					${Company.COM_PRINTNAME}营销预算单
				</th>
			</tr>
		</table>
		<div>
			<div>
				<table cellpadding="0" cellspacing="0" width="550" border="1px"
					style="line-height: 27px">
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>产品名称：</strong>
						</td>
						<td colspan="2" style="align: left">
							${data.H_NAME}
						</td>
						<td class="td_ct3" colspan="2">
							<strong>定价：</strong>${data.H_PRICE}
						</td>
						<td class="td_tdd2" colspan="2">
							<strong>开本：</strong>${data.KAIBEN}
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>产品经理</strong>
						</td>
						<td colspan="3" style="align: left">
							${data.YSZEBIAN}
						</td>
						<td colspan="3">
							<strong>作者：</strong>${data.YSAUTHOR}
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>营销预算</strong>
						</td>
						<td colspan="6" style="align: left">
							${data.APPROVE_MONEY}
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>营销负责人</strong>
						</td>
						<td colspan="6" style="align: left">
							${data.YS_MAN}
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2" rowspan="2">
							<strong>签批</strong>
						</td>
						<td style="align: left" colspan="3">
							<strong>营销负责人：</strong>
						</td>
						<td style="align: left" colspan="3">
							<strong>产品经理：</strong>
						</td>
					</tr>
					<tr>
						<td style="align: left" colspan="3">
							<strong>副总裁：</strong>
						</td>
						<td style="align: left" colspan="3">
							<strong>总裁：</strong>
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>备注</strong>
						</td>
						<td colspan="6" style="align: left">
							${data.MEMO}
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="8">
							<strong>&nbsp;</strong>
						</td>
					</tr>
					<tr>
						<td class="td_ct2" colspan="2">
							<strong>序号</strong>
						</td>
						<td class="td_center" colspan="3">
							<strong>财务科目</strong>
						</td>
						<td class="td_center" colspan="3">
							<strong>预算金额</strong>
						</td>
					</tr>
					<c:forEach items="${dataList}" var="temp">
						<tr>
							<td class="td_ct" colspan="2">
								${temp.ROWNUM}
							</td>
							<td class="td_ct" colspan="3">
								${temp.CW_SUBJECT}:${temp.YS_FEE_INTRO}
							</td>
							<td class="td_ct" colspan="3">
								${temp.YS_MONEY}
							</td>
						</tr>
					</c:forEach>
					<tr>
						<td colspan="8" class="td_right">
							<strong>合计：${data.TOTAL_MONEY}&nbsp;&nbsp;&nbsp;&nbsp;</strong>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div style="width: 550px;height: 10px"  align="right">
			<span style="font-size: 11px ;color: #9BA4AF">技术支持:</span><span style="font-size: 12px ;color: #9BA4AF">上海爱你特科技  www.ainit.cn</span>
		</div> 
	</body>
</html>
